[INFO] cloning repository https://github.com/rasmushalland/cwintab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rasmushalland/cwintab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasmushalland%2Fcwintab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasmushalland%2Fcwintab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3e7511cb8ff09c43dbeac0195e8c91fc13b2d58
[INFO] building rasmushalland/cwintab against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasmushalland%2Fcwintab" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rasmushalland/cwintab on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rasmushalland/cwintab
[INFO] finished tweaking git repo https://github.com/rasmushalland/cwintab
[INFO] tweaked toml for git repo https://github.com/rasmushalland/cwintab written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/rasmushalland/cwintab already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ccbef4021075a242492148b7f1b3c82829fe5b0bf31f19deed2a6bf3bf37d066
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ccbef4021075a242492148b7f1b3c82829fe5b0bf31f19deed2a6bf3bf37d066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ccbef4021075a242492148b7f1b3c82829fe5b0bf31f19deed2a6bf3bf37d066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccbef4021075a242492148b7f1b3c82829fe5b0bf31f19deed2a6bf3bf37d066", kill_on_drop: false }`
[INFO] [stdout] ccbef4021075a242492148b7f1b3c82829fe5b0bf31f19deed2a6bf3bf37d066
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b2a999095cd2d649f77b7e4d9d039eafdd1a4c10e4aae9e74ce560844fd4e38d
[INFO] running `Command { std: "docker" "start" "-a" "b2a999095cd2d649f77b7e4d9d039eafdd1a4c10e4aae9e74ce560844fd4e38d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling itertools v0.8.0
[INFO] [stderr]    Compiling crossterm_utils v0.2.1
[INFO] [stderr]    Compiling crossterm_screen v0.2.1
[INFO] [stderr]    Compiling crossterm_cursor v0.2.1
[INFO] [stderr]    Compiling crossterm_style v0.3.1
[INFO] [stderr]    Compiling crossterm_input v0.3.3
[INFO] [stderr]    Compiling crossterm_terminal v0.2.2
[INFO] [stderr]    Compiling crossterm v0.9.3
[INFO] [stderr]    Compiling cwintab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winx.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::ATOM;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winx.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winx.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::UINT;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winx.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::WORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winx.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::windef::RECT;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/winx.rs:108:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |     use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/winx.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |     use winapi::um::winbase::FormatMessageW;
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]    --> src/winx.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     use winapi::um::winbase;
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]    --> src/winx.rs:116:18
[INFO] [stdout]     |
[INFO] [stdout] 116 |     use std::os::windows::prelude::*;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::BOOL;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::LPARAM;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winbase::LocalFree;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::LPWSTR;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use std::os::windows::prelude::*;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |     use winapi::um::processthreadsapi::GetCurrentThreadId;
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |     use winapi::um::winuser::EnumDesktopWindows;
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |     use winapi::um::winuser::GetThreadDesktop;
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]    --> src/winx.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use winapi::ctypes::c_char;
[INFO] [stdout]     |                 ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/winx.rs:89:35
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let rc = unsafe { winapi::um::winuser::ShowWindow(hwnd, SW_RESTORE) };
[INFO] [stdout]    |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/winx.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let rc = unsafe { winapi::um::winuser::BringWindowToTop(hwnd) };
[INFO] [stdout]    |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/winx.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let rc = unsafe { winapi::um::winuser::SetForegroundWindow(hwnd) };
[INFO] [stdout]    |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> src/winx.rs:137:47
[INFO] [stdout]     |
[INFO] [stdout] 137 |     unsafe { LocalFree(buffer as *mut winapi::ctypes::c_void) };
[INFO] [stdout]     |                                               ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:56
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn GetProcessHandleFromHwnd(hwdn: HWND) -> winapi::um::winnt::HANDLE;
[INFO] [stdout]    |                                                        ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct WinHandleDrop(*mut winapi::ctypes::c_void);
[INFO] [stdout]    |                                   ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn new(handle: *mut winapi::ctypes::c_void) -> WinHandleDrop {
[INFO] [stdout]    |                                 ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let rc = unsafe { winapi::um::handleapi::CloseHandle(self.0) };
[INFO] [stdout]    |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let cc = unsafe { winapi::um::winuser::GetWindowTextW(hwnd, &mut buf[0], buf.len() as i32) };
[INFO] [stdout]    |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |         winapi::um::psapi::GetProcessImageFileNameW(prochandlex.0, &mut buf[0], buf.len() as u32)
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winx.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |     cbSize: DWORD,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/winx.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |     rcWindow: RECT,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/winx.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |     rcClient: RECT,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winx.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     dwExStyle: DWORD,
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winx.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |     dwWindowStatus: DWORD,
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/winx.rs:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |     cxWindowBorders: UINT,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/winx.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |     cyWindowBorders: UINT,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stdout]   --> src/winx.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     atomWindowType: ATOM,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout]   --> src/winx.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wCreatorVersion: WORD,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/winx.rs:55:23
[INFO] [stdout]    |
[INFO] [stdout] 55 |             rcWindow: RECT { left: 0, top: 0, right: 0, bottom: 0 },
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/winx.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |             rcClient: RECT { left: 0, top: 0, right: 0, bottom: 0 },
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/winx.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn GetWindowInfo(hwdn: HWND, winfo: *mut WindowInfo) -> BOOL;
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/winx.rs:70:61
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn GetWindowInfo(hwdn: HWND, winfo: *mut WindowInfo) -> BOOL;
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/winx.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) fn get_window_info(hwnd: HWND) -> Result<WindowInfo, String> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/winx.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) fn is_window_minimized(hwnd: HWND) -> Result<bool, String> {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/winx.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn focus_window(hwnd: HWND) -> Result<(), String> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/winx.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let err = unsafe { GetLastError() };
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]    --> src/winx.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut buffer: LPWSTR = ptr::null_mut();
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope
[INFO] [stdout]    --> src/winx.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         FormatMessageW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]    --> src/winx.rs:126:34
[INFO] [stdout]     |
[INFO] [stdout] 126 |             (&mut buffer as *mut LPWSTR) as LPWSTR,
[INFO] [stdout]     |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]    --> src/winx.rs:126:45
[INFO] [stdout]     |
[INFO] [stdout] 126 |             (&mut buffer as *mut LPWSTR) as LPWSTR,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope
[INFO] [stdout]    --> src/winx.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |     unsafe { LocalFree(buffer as *mut winapi::ctypes::c_void) };
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:15:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn GetProcessHandleFromHwnd(hwdn: HWND) -> winapi::um::winnt::HANDLE;
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:41:51
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn enum_windows_cb(cbs: &mut CallbackState, hwnd: HWND) -> bool {
[INFO] [stdout]    |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:76:49
[INFO] [stdout]    |
[INFO] [stdout] 76 | unsafe extern "system" fn enum_win_cb_raw(hwnd: HWND, lp: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:76:59
[INFO] [stdout]    |
[INFO] [stdout] 76 | unsafe extern "system" fn enum_win_cb_raw(hwnd: HWND, lp: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:76:70
[INFO] [stdout]    |
[INFO] [stdout] 76 | unsafe extern "system" fn enum_win_cb_raw(hwnd: HWND, lp: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/main.rs:91:32
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let curthreadid = unsafe { GetCurrentThreadId() };
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadDesktop` in this scope
[INFO] [stdout]   --> src/main.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let desktop = unsafe { GetThreadDesktop(curthreadid) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDesktopWindows` in this scope
[INFO] [stdout]   --> src/main.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             EnumDesktopWindows(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let osstring = OsString::from_wide(&buf[0..cc as usize]);
[INFO] [stdout]    |                              ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let processfilename = OsString::from_wide(&buf[0..cc as usize]);
[INFO] [stdout]    |                                     ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stdout]    --> src/winx.rs:135:30
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let osstring = OsString::from_wide(slice);
[INFO] [stdout]     |                              ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 63 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cwintab`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "b2a999095cd2d649f77b7e4d9d039eafdd1a4c10e4aae9e74ce560844fd4e38d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2a999095cd2d649f77b7e4d9d039eafdd1a4c10e4aae9e74ce560844fd4e38d", kill_on_drop: false }`
[INFO] [stdout] b2a999095cd2d649f77b7e4d9d039eafdd1a4c10e4aae9e74ce560844fd4e38d
